package com.tancw.web;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tancw.bean.User;
import com.tancw.service.UserService;

@RestController
public class UserController {
    @Resource
    private UserService userService;

    @RequestMapping("find")
    public User find() {
        return userService.find();
    }
}
